import { connect } from 'react-redux';
import UI from './DefaultUI';
import action from './../action';
const mapStateToProps = (state) => {
  return {
    booklist: state.book.booklist
   
  } 
}
const mapDispatchToProps = (dispatch) => {
  return {
    getBookListData () {
      dispatch(action.getBookListData())
    } 
  }
}
const Com = connect(
  mapStateToProps,
  mapDispatchToProps
)(UI);

export default Com;

